Moved the eval code into its own class instead of running it in Main.