Cleanup the code.
Adding view tests.
Testing __repr__.