restructure npm dependencies. restructure lib assets into separate folde...

...rs.