Implement everything

Make layouts for portrait and landscape modes. Implement fragments and
MainActivity.