restructure of metadata values
Rework install_dependencies to make it so we can unit test it.