Restructuration of files for a more scalable organisation.
Fix documentation.
sketch of cppunit tests added.