added spacecraft.h and spacecraft.cpp