Seperated the Nodes library in sub-libraries and fixed dependencies.