The Headquarters is obtained by going through the HQ plot.
This massive station enables the player to store a massive number of wares, ships and weapons. In fact, the station's storage hold is so large that it can store TL stations.
The headquarters also has the ability to Repair, Decompose and Construct ships. All of these actions, however, require time and materials.