refactoring structure to separate node and aspnet