moved client to new file
moved some util methods
new helper for scripts
add log to script scope
path helper
expand path