chapter 4: added media folder and "upload" ability