callback for errors, no console.logs, always use numbers for rates
added http request error handling
Merge pull request #5 from gabegattis/dbrefactor

Dbrefactor