Added functionality to create nodeapp directory