updated directory structure to suit npm pack