use structs instead of records for GenServers
Merge pull request #16 from structtv/structs

use structs instead of records for GenServers