Main class responsible for calling both the classes