Implemented delete function in PostModel.
Implemented return of affected rows when executing create, save, delete action
Re designed alert handling using session