added config file and testing