restyle block menu and help.
factor out the game controller class.
use uglifyjs.
adds a class for external apis.