Removed quantity from code and database

and modify listings almost works.