rework ps3controller module - split up as per other modules and clean up/reduce code size