Initial setup of the mod and required API.