Original Reference Code and New Project Code

Seperated into original and reference