Update static methods for real work.
Add R file for plotting graphs.