update networkplanner code base remove unused code