general infrasture: started persistence layer