devide the main class