Small changes

Added methods PHPDoc
Renamed some methods