Improved code documentation and removed uncessary imports from trigger servlet