A python object to database mapping engine