Rename /log to /invest
Implement config.js for environment specific base-url config
Use config-file for AJAX-urls, update URLs from /log to /invest