Added caching and a lot more tests.
Also fixed some bugs.
Version bump to 0.0.3