Add config and routes
Added routes and views
Add Chatcontroller
Added emit handlers