Added API code to git