Move internal data definition to implementation-file.
Define internal main-info structure.