start write a controler and persistence level by using namedquerie