Doing some spring cleaning

Before I try to complete my next assignment for this project

CHANGES:
- Added many comments to files
- Changed return of isLessThanVersion
- simplified some functions in data_utils
- import_submain_db now just does importing of files, then quits