Added database configuration

Added database connection strings and updated .gitignore for .db files. Also fixed readme encoding.