More SQL keywords added and code cleanup

1. added INSERT, UPDATE, DELETE methods
2. renaming variables for clarity