lots of stuff

changed permissions to fit convention
added missing views
organised stuff