Extracted patterns.  New pattern index
Renamed lib to src, so raw js is available unded lib/ for npm
Site refactore
Moved site into separate project
Updated gitignore