add comments to src files

add comments to src files, the files includes connection, core, data,
and interfaces so they get displayed in doc