Moved data structures to the API file
Moved data structures to the API file

As the API client and server are further developed, common areas
of code, such as thses, will be moved into the disgo package

abates/disgo