massive code changes / new api for modules / sample module created / network stuff nearly finished