Feature/pattern template

Added in the scaffolding for being able to compile patterns into HTML