Added libmandrews
Moved tests into test.cc and started to integrate libmandrews