Updated Template Layout

Added AJAX page loading and updated template layout