* add test folder
* move memory db to test folder
* remove logs
* make it easy to do unit testing