add embs.js for application among other structure
change embs.js to inject controller dependencies