An Entity System framework