added config file and reader class