Unit list api added, functionality implemented