started media upload things, and fixed some issues
media upload feature