Structuring the frontend app

App is split into AMD modules, and combined to a single file
using bbb-requirejs.