Move entities class and repositories interface to domain, move mybatis file to persistence.