added memdb and fixed indent
basic tests
added travis