app: simplify import statement
app: added function to generate unit names for quota allocation
app: set the QuotaItem attribute in AddUnit

Related to #382.