Moved code evaluation into a single, separate class. Updated pom so that 'mvn package' generates a runnable jar with all the dependencies.