Adding ability to choose library name

Also minor fix for types in build.gradle
adding replacments for gradle.properties.
Setting up initial release.