start of modularization - added requirejs, wrote architecture todos
modularization and development