Main class created