finished Goal management(GUI + code)