Initial commit

Copy of files under the api repo which are being used as a starting
point