make imported vars private
add patterns as vars
beautify code
better naming
bump to v0.2.0