Added object.h and object.cpp.