command application logic is extracted to dedicated class