Publish updates

- Remove folder before publishing if it exists
- Recursive folder creation with mkdirp
- Updated folder structure to include user id: /courseid/userid/...