Revamped app to use fragments.