Move common functions in
Update
Add nodeFromHtml
Move build file
Update template functions
Add composer.json
Merge branch 'master'