add function that is getting list of app or lib components