A FirefoxOS app template based on building blocks for corsac