Added unit tests.
Added first version of cython-based interface.