modified the XSLT transform file and been implementing and refactoring Context