v0.1 alpha

Working now after rewriting the code. Writing tests.