Initial Commit - Bringing code out of TextSeer