Updated Delete method

To use prepared statement and added a truncate method called emptytable