Database Persister (Not complete)

Still need to fix this code