altered the public folder reference
Refactored using Mustache