creates DB object from import