added library
phpunit tests
changed README
remove test DB at the end of the testing
better object testing