added some baselevel views, started templates

did around one template, extracted the existing ui, created a class for
permission handling.