Initial commit.
Functions to create and destroy event channels #6