Changed several templates to match bootstrap3 classes and lots of errors fixed