added model bindings and deletion functionality