initial check in. move scripts from cerf project to here. re-organized
the code structure.