add beginnings of pipe class
clean up classes for decided format