Have you created an instance of the class within the main code?