Creating controller -> service -> persistence model