Created main class