Wrapper around PBS commands, and maybe some day protocol implementation