Reworked visibility and menu code (frontend login problem)
Rewrote menu function. Parameters are now given as attributes to frontend class.
Added direct access redirection in framework files.
Reduced redundant initialization code, removed further 'CVS' occurrences. Made $admin accessible in page_content function.
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