Don’t worry about front matter (introduction, foreword, etc.) or back matter (appendix, resources, etc.). Focus on the core content. The introduction will typically be the last thing you write, after understanding exactly what the book has matured into.