Made the editability dependable on the run mode
Added dependency on SBT run-mode, so we can easily build in production mode
The properties files depending on the run mode