Added a simple main class.