Added cancelation method

- Added primitive logging
- Added cancelation method to OperationManager
- Fixed int conversion warning