refactored and improved dependency scanning
removed dependence on blessings. fixes #27