Updated the entity framework attempting to wrap and clean up groups of power history stuff