initial commit

added the methods and basic implementation. Need to test it.
adding RData and Rhistory into the gitignore