refactor item api code for unit testing
Merge branch 'develop' of github.com:chonla/geekytodo into develop