Initial codebase from lasso.dri.edu