wip: modularization; requirejs with play; works too!