a simple network library