Added initial upload functionality.