Refactor code - introduce utility-application.c and utility-network.c