Finished the API for now. Probably many bugs still, but time to go learn some AngularJS! Exciting!.