Seperate fragments from the MainActivity.