cleaning up the code and formatting with astyle
make test will make all libs so they can start to be tested.