Created main class.