front controller refactor and changes in config construct