Changed from views for messages to AJAX messages.
Various changes including changing the directory separator to a predetermined one, removed the admin controller and instead set permissions for each method, organised the structure and improved the overall readability and workings of the script.