Refactor Pig class

Store pigs in an array.
Create pigs with a config object.
Get pig's configuration working again.