Minor changes

- Cleanup code
- Added PHPDoc
- Amended Russian