Switched to MongoLab for DB storage
Increase frequency for pending commands check
Added comments