parse fortype and size/stock; update schema and a few bug fixes