Add populate and clear endpoints
Fix test cases
Quick fixes
Add Travis-ci