Added config file

Added a configuration file and logic to use those configs