Some bugfixes, added config.js to set servieconfiguration