Adds sample app page; Changes cms module to properly return promises