move vendored stuff into lib

this way it gets picked up by default hex :files list
not using exprof anymore
whitespace minor
get ready for package and release