Merge pull request #27 from redding/kr-re-engine

redesign: compile Engine definition and registration API