changes made, see desc;

created the session class, and changed the framework.php