Move defines and type definitions to griffon.h
Move load/save state to separate file