Rewrote base miracle to use the new building system