Major overhaul of build process. Added Jade support.