Adding support for basic persistence operations using embedded database