WIP: shaperegistration implemented and working. Needs cleanup and documentation.
improved example programs and added data