Added mycomponents directive dependency,clean up