Add handlers and router