Edited DBinsert() to support dictionaries.

Changed readme to reflect this, and also removed unnecessary imports.