added rudimentary dependency management