updated dependency loading and documentation