Adding components and fixed bug related to editing existing parts.