Moving files into deps and adding graph library with node inheritence