moved getting and creating folder into their own functions
added upload form; uploaded files are stored in the RichText folder
moved getFolder and createFolder to utils file