make quantity an int
add button and classes to templates