Started with defining the functions and variables of the classes