Added API endpoints in local controller.

fixed the conflict errors.
updated read me