Rewrite

Simplified ForeThought code base.