Introduced Base class + PS3 Controller connection code

You can switch between USB control and Bluetooth control at compile
time with the USEPS3BT flag.