Implemented little part of the unit-test for the applications.
PHPDoc-ed the applications.