refactor config file load
added testing instructions