Make the project unit testable.
Fix indents.
Added some basic count tests.
Upgrade version to 0.8.0.0