Added a build script
Moved command into packages
Fixed build script && go fmt on cmd