First functional commit, can now send pastes