Tidy up

- Remove debug code from console
- Add API URL to config