Remove some whitespace
Rearrange draw function
Add tests
Add test
Replace base with parent
Add test
Add test
Add test
Add more ref counting
Remove debugging output
Change some formatting