Comments, removed old code, adding db information

Minor format changes too.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>