Modularize browser and HTML file logic
Merge pull request #13 from ianks/browser

Modularize browser and HTML file logic