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