added dev mode
also fixed clog compatibility issues
also should pass go vet now