restructure for npm install