lokalozavany rest client, refactoring dependencies