re-organised structure for unit testing
unit test cases implemented
v0.2-RELEASE