Updates library to split sample app.
removes extra cruft
Updates gitignore.