Did a refactor
Let people put in their config details :P
Unit tests
Merge pull request #1 from MCProHosting/refactored

Refactored