added manifest parser for ascertaining package for R file