made all changes except modify data types
added timestamp and error handling. added sql files to create and drop the table