I would consider moving this to another file within the app package (it is related only to the app), but personally don't mind it in the app object.