made a base buildproc class, and shifted most of the buildproc code into it. mainly the subclasses just need to implement the text method