Fixed some typos and created config for database.