[MODIF] Reorganized sources, enabling separate building console or gui
applications.