moved server config to main.js and enabled config via url objects and url strings