Adding api page, creating example route