Update Kendrick::Core.rb

updated core script to include basic dependency resolution