Core: Support for custom config file in backend, Moved frontend config to main.js