#20: refactor page creation to use factory + correct routing creation and fix #86
#20: CS