Constructor/destructor for Component