First attempt at database storage.