recipe: fix hook registration
Add dependency class [preparation]

A generic Dependency class is design to be the base for correct gem meta data handling and additional package dependencies.
recipe: small improvement