Moving config to config file