persist database upon first creation, addresses #24