added entity system from huckleberry