refactoring, created service class, started to create requests