changing the api to more closely follow the iron-router convention