Clean up config.
Clean up imports.
Added support for 404 in phonebook and roomcontroller.