refactoring code to work on github pages
Merge pull request #4 from ethanwelborn/dev

refactoring code to work on github pages