Overhauled repo

Changes/clean-up as to make the code more reproducible.