convert to mustache template; add build script