Implemented complete loop.
Implemented contour tracking and network sending.