Add basic xcb init and cleanup functions