Updating code to use fragments.
3 files changed