Added part types as a separate table.
Added filtering parts by type.
Fixed selecting by type.