added message subclasses
added function for encoding params
added DataMessage to convenience methods
post beta 6 updates
rearranged config vars scope