More working with service. TODO: get rid of handler architecture.