Extracted dependency definition management to separate database.
Added support for closures in dependency definitions.
Improved unit and functional tests