Added upload function for imgur
test for instance creation added