Add type Service and make refactoring.
Add Check class and instances.