Turned everything into C++. Started Replica class