tyding up. Extracting some config variables. Prefixing api to all the backend urls