fixed settings
added urls
Adding support for search API, and added debugging