Fix bugs that cause routes trigger problem
Add comments for API
Merge pull request #10 from winfield/feature/create_update_api

Feature/create update api fixes