move interfaces
Change package structure

Model (domain), View, Controller and others.
embed file access methods into Doc.

Restructuring MainFrame is definitely complex...