First pass of sdbc. Added on line to main with comments.