Update Applications API for new interface
Update Accounts API for new interface
Add null check for optional parameters
Merge pull request #2 from SIROK/feature-update-api

Update APIs