[core/utils] moved pgpprompt to utils
[core] moved api client to core/api.go
[core] moved api client to core/api.go