Connections class ready. Dirty version with some test. I'll clean it up tomorow and write file transfer.