Format sources for better readability and editing.

Changed cdb_*.[ch] to format it for easy reading and editing.