wip, added entity, and observer. fleshed out state, logic table, and logic gate. several renames.
just pushing code around
renamed a few things, nothing significant