* put helper functions in separate file following Paul's style in scratch-gui * remove console statements * address review comments, object destructuring