Machine work

Need to look at code somewhere else to figure this out. And worldgen
works kindof now.
More machine work
Machine work

Now I haz internets, I can learns this.