refactor

huge commit, refactoring app architecture and updating to bootstrap v3.0 and angular 1.2.0-rc2