Formatting functionality; introduce dev mode to code