working on restructuring so server and client can share code
working on restructuring so server and client can share code
added server skeleton and some more restructuring