Refactored project structure and compiling files included by require.js for production