Separated a main class