fixed layout issue and added tsp sorting
connect objectproperty signals/slots and run optimization before sending jobs
push code into source files