A variety of changes

Intelligence rework
Entities rework
Orientation changed to enum
several other minor changes