Add view template engine and seperate route and default response logic