added entity object to wrap ids and make component retrieval simpler.
didn't work because of interdependency. still trying to work this one
out, but don't think it'll ultimately work.