extraction of business logic from apply controller to application Processor