update
add threaded tcp server
add extra listener; change distance variable to allignment; add flags for data