Add common.css (taken from patternslib.com)
Add main.js which configures paths for all the patterns dependencies.
Use main.js and fix paths to other resources.