Refactored the session properties. No stdClasses any more. Its too dangerous to bould an hierarchy with stdClass