Added file and image upload features, upgraded library files