Added interface and quantities management.