Changes way of communication

Support for variable amounts of bytes communicated.

#10 #11
Bug fix and removed spares from AI communication struct