Removed unneded code

- changed scope of method getPropertyByKey to private
- removed geting by CliOption