Create of API.php

This class will contain both of function