separate Crafty init from guest configuration

This moves the configuration for a guest to a separate method that takes
the index of the guest.