add networklibrary to handle network layer stuff