added gen-idea sbt
moved frame rate into controller, some refactoring