Add ability to load settings from environment

Also fixed the loading Image package from Pillow
Add idea project files to gitignore
Add requirements.txt for dependency management