added option for localhost
Merge pull request #2 from Coolhand/master

added localhost db connection