Added basic picture upload function
Added missing files from previous commit.