Wip/rebase/receiver read write refactor

Rebase #19 to include new gradle stuff.
Any idea why this was added, it's cause the build to fail for me

```
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find com.android.support:appcompat-v7:20.0.0.
     Required by:
         android-uploader:app:unspecified