move addToApp() to util module
return more info with errors
util.addToApp()
remove runtime module error
fix error()
copy files and modules
remove logging
runtime requires