First Pull Request

maybe you could define your validation limits as constants?
```php
const THREAD_MAX_LENGTH = 30;
const THREAD_MIN_LENGTH  = 1;
```