move entity controller to logix