creating api wrapper for delighted
some fixes
updating documentation