Update app.php

Implemented createSchedule(); Still have to finish