- refactoring of classes: naming and  coments
- added example and refactor of classes, added constants to config.php