[new] Added all the stuff from the previous hours (home page with layout): now has AJAX calls, though needs testing