moved all configuration to yaml file