refactoring
refactoring take out components
fixed! add number goods for buy