split abstract quantity in more classes

split abstract quantity in more classes