adding license
using fnil and decreasing only when > 0
quota integrated into api
using quota sets