Changes for new callback format and cleanup code.
Added travis file.
Merge pull request #1 from hybridgroup/standardize-callback

Changes for new callback format and cleanup code.