Refinement added

1. This is a fairly big change.
2. Some previous procedure is refactored.
3. The config file format is also changed slightly.
Many small changes

1. Corrected many bugs in the refinement part.
2. For the CO self-shielding, now using a more complete table.