Remove redundant functions, close #74
Added a  convenience
Added functions which can touch db from spawned process, issue #75