Major refactoring. Added bootstrap as a design framework. Added mustache for templates.