Updating route and dispatch
Can reads templates from DATA section
Fixed error handling