docs for views
fixed bugs and better tests
cleanup code
extended test case
decorators docs
better docstrings - close #47