added reading of input blocks with keywords
separate flags for geometry input and disp. input