Added some comments to twist app
Refactored show error method in message view
Fully commented code