added config file for settings and global vars