Is it possible to move the core build and generation logic into a Go library, leaving only the console interface in the current project?