changed view definition
removed request/config dependencies
more tests