rest.php finished so far for sprint 1

Signed-off-by: thomasaj91 <thomasaj@uwm.edu>