added factory for entities TODO make them actually produce something