Cleaned up code to be more node-like
Refactor credentials into creds.js, config strings into configs.js
Rename things