refactored str search with regex
edits
deleted assets listing: retriev from os.list()
refactored asset compilation in Closures