rename network.[h|ino] to be rnxv.[h|ino] and clean up code

removed a lot of unused functions
renamed functions to be rnxv_*