Started to add sourcecode and unit tests