Modified the code to adapt to the new library structure.
Moved the unit tests to the library directory.
Added a Makefile to compile all libs.