Added serial_number to init variables.

Removed ctypes from requirements.txt.
Only needed to run an example. Generates errors on OS X.