WORK IN PROGRESS - Manage new global variables

Manage 4 global variables:
- API_URL
- MAP_URL
- APACHE_BASE_PATH
- APACHE_BASE_DIRECTORY

TODO:
- Use JSONP