fix: remove dependency to handlebar template loader
refactor: factorize compiler code