If you want to know how to successfully build your own settlement, click here.
This allows you to do anything from constructing housing and defense structures for your own settlements, to modifying and repairing your own weapons and armor. One of the big changes in Fallout 4 is its deep and extensive crafting/modification system.