refractoriastion + add basic menu + add gui contoller