Fixed database stuff and added entries.