reimplemented network connections. Can now send file to server
mavenified whole project