update repository and service interface and impl, remove unused file