added configuration and routes