changing file structure for slimmer npm