renamed modtime to mtime
added basic remote handling

* opens a basic connection to the remote
* includes a basic protocol