Added old Node portfolio code NEEDS MAJOR REFACTOR