add Real.cpp and fix a method declaration in header file
Need to finish Real.cpp later