setTargetFiles now loads files.
exporting necessary types.
error handling for browse.
error handling for modules.
comment.
find functions went to lib.