adding functionality to create and read from configuration files