added some scripts structure and working out require commonjs
working out commonjs missing file