Mining APIs and cloud computing to envision a new kind of TPS