made rstudio project
update to v0.2
added documentation
corrected S3 methods
changed packaging helper functions