Adding README
Properly disconnecting from X server when closing Device.
Moving stuff around to separate platform-dependent source and headers.