Added requirejs and split monolith into modules