Started using fragments

activity_main.xml now includes a header, a frame layout for the
fragments and a footer.