Adding configurable products to magento , attribute sets
reference: http://www.sitepoint.com/adding-configurable-products-magento-ecommerce-site/