Portable class library for ShapeShift