skeleton for html backend
introduce SingleQuantity to keep things more simple