move source from Base.hpp to Base.cpp