Rebuilt tcp communication classes and logic. Should be stable now. Moved api to MIVSDK so all server classes are there now.