Change fitting class structure to be more modular and
extensible.
Merge pull request #30 from ShaneDrury/fitting

Change fitting class structure to be more modular