split main file in module, add first GUI system