Converted into Maven project.
Added unit tests.