Added source to master.
Refactored main.controller to use this rather than scope.