renamed some functions to more appropriately describe their purpose
added a simple, command line server to be used for debugging of the cage clients