Added objects to map DB data and php objects