Moved helper function to inside main function
Removed "api" parameter from helper funcs
Able to customize "onclick" behavior for items.
Display stuff about the file when clicked.
Added a search function.