store only ids in database, and have corresponding methods that fetch the objects