(DRAFT) Added basic engine fxns, utilities, types