Encapsulate get content root
Added test data for package
Added single string package define parse