Initial commit. Bare bones tests and impl.