Separated random energy function into new Physics .cpp and .hpp files