added some persistence layer (in-memory db)