refactor library folder layout and add sample

have uploadArtifacts deploy to a local maven repo
add readme
sharing debug log URLs via email intents