Updated code with database script and schema
Updated code with database script and schema diagram