Adds Engine.java.

Adds Engine.java. The class to it and
javadoc commeting.
Merge remote-tracking branch 'peetu/maingame' into devel