Reorganize build process
Refactor based on go-alfred changes