Added common.js file

Use this file for urls, and std element ids
Added ng-controller for missions