Merge pull request #1 from cthielen/master

Wrote logic to delete, update logic apps with RM data. Also includes minor clean ups.
fixed app/favorite separation logic to handle null values appropriately