added default api logic.
update logic & resources.