Add "make fmt" command and fix formatting issues.