Fixed unresolved $defaultCriteria in models.
Syntax changes in loggers.
Renamed logger files.
Refactoring and fixes of API calls.