The vim factory is at the end of the boo woods. At the end of the factory is the boss, swiggler. After beating said boss, the second cobalt star shard is obtained. At the beginning the elders are abducted and a mini boss starts. Beating them will award you the hammers. It is through the portal at the bottom left of the top screen on the bottom floor of the hub castle.