Adding api code.
Updating urls to clear conflict.