D-backs set foundation for 2018 and beyond