fixed autoloader, added isXhr method to Request class