Moved the main method into a separate "Main" class