Coded the uploading stuff

I'm not entirely sure if this is correct, don't really have a way to
test everything from my computer. For now I commented out the code in
the RUBTClient main because I wasn't sure how you guys wanted to handle
the different message handling.