Separate Prompt functions from commands to core.go

This makes a lot more sense in the context of the next commit