Role of API in Modern Web development