add bootstrap, start to refactor templates