(fix) Made changes that allow jobs to be added. 

Also added additional documentation to database.js.

![screen shot 2014-10-23 at 11 04 23 am](https://cloud.githubusercontent.com/assets/8163408/4758415/34d5b1f6-5adf-11e4-8b44-f68f409d4ddf.png)