Added routes and message model