updated base and attendance templates, made attendance app more modular