Moved onis db helper in tools dir