BaseHandler hotfix

Each operation now has its separate handler that derives from
BaseHandler and overrides its methods.
Merge remote-tracking branch 'origin/Mikalojus' into Testukai