started to build the main class