Slim down the main function.

This makes it easier in the future to add the Movie functionality.