Code standartize according to PEAR coding conventions