Refactored fragments into their own classes.
Merge pull request #7 from adam6806/Adam

Refactored fragments into their own classes.