1. Used constants for sessions keys in session controller
2. Added content_tag in html helper
3. Moved few global functions to html helper
4. Added route by constant in router class
5. Other changes to core functionality