Initial

Just adding the code I've already written, not a lot, just the basic
proof of concept and the beginnings of some of the trimming methods.