started to implemented entity controller