Creating the required classes