added basic in-memory 'database'.