move main class to the root directory