Created the main class.