Adding AiurLogger in models and refactoring