Code cleanup and documentation
Added AbstractView skeleton class without method declarations
Additional checks in controller and script
Fixed dependencypass error
Fixed dependency issues when deleting quantities