Removed direct access path disclosure occurrences.
Added the Id keyword into the top of each file that was missing it
Added the Id keyword for all files
Restructured frontend code and fixed various bugs