Migrate express to config file