Creating a layer to isolate db access (PersistenceManager) Implementing active record design pattern