added machinetype service and repository