Finished main class