Extracted settings into its own file
Merge pull request #21 from joakin/extract_settings

Extracted settings into its own file