Reworked entity-component model.  Adapted scheduler to fit.