Added tests.
Added docstrings.
Added content of the init.