editing template. migrating to angular.js
Simplified the project.
Fixed main page links.