Added config property "mode", can be dev or prod (controls code reloading)