Updated Documentation

Added MAIN.md for main.js documentation