Separate Main function into a different file.