Repository for Ram and Db working