configured staffmode, and minor bug fixes

restructured templates
minute