changed project structure to be common for both chrome app and extension. added requirejs modules