Main class created.