Create single class with speed.cpp