Only run dev category module in dev mode
Adding CLI
Major cleaning on loader class