Started work on trying to use mustache templates (not working very well)