Move definitions.

No more inline definitions.
All definitions moved to gameproject.cpp.