Refactors code
Merge pull request #16 from joshjeong/https

Refactors code