=cleaning up package, using request instead of session, using request.path_info instead of request.path (to make package work fine on apache with .htaccess redirects)