Started to code the persistence layer