Split layout into separate xml files

This should let us load the header of multiple activities from the same
layout file.
Added layout for factsheets and some refactoring