Make into a stand alone library for managing processes from golang