added require.js
event oriented instead of fps
config
-appiary