added config.ini file
config. file and other functions added