updated code to use level6 sub-package
updated build code