An extendible API class to create APIs