Clean up

Reindent code, remove unnecessary #'progn, change some #'if to #'when.
Change (&key (mongo nil)) to (&key (mongo (mongo)))