Added base Fragment classes for MainActivity and Display Activity.