Shared data definition to use

contains helper functions for some structures as well as network
functions.
ex: (in-rect? ...)
(distortion ...)