restructure start of gui development