fix select model, add the model inputs to db
change useKpis to kpiList and add inputs to client after select model
remove socket
communication from framework