First source commit. Added most things from CEIDEC-Pong.