fleshed out listener function
added makefile and client skeleton