Plugin and mod architecture done.