Move constant to implementation file.
Include missed algorithm header for std::min.
Better variable naming.
Add missing functions stubs.
Add missed header include.