URL config

Move API urls to config