add scripts and lib for initial commit