phpDoc Added

Documented using phpDocumentor.