Add .idea configurations and .DS_Store to .gitignore.
Moves database configuration to a config file.
Adds the file that contains database configurations.