First stage

Basic outline for the program setup.  Need to implement the different
pipeline stages.