Entity system prototype