initial implementation
added resource and some view tests
more tests and error notifications