adding AJAX and fixing css and routing stuff.