Parity

Add some basic parity setting functionality