changing library template to remove the optional repeated package directories
fixing templates to use a requirePrefix/namespace generated by the model