Added logic script generation and deletion for items along with all data bindings and sub-item view.