customized exceptions added, global exception handler added, sql download info after generation moved from context to request.ATTRIBUTES.