implemented todo
todo implemented, added db