Added session.xml parsing. fixed #8
Added extensions reset. fixed #9