Added license header
Added onActivityResult and integration tests
closes #47