Check particle types of box if they match the model.

Also store code->name mappings for particle types.
Implement changing parameters of the KIM model.

Reached feature parity with the old code and therefore deleted it.
Move main() into separate file.