Added original source code based on P-Stade 1.04.3