Improve setup script and database.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>