aop folder for gerative aop class files
fix psr2
write log on PreDestroy
use cache injector for app instance
ignore aop files
log resource in @PreDestoroy
avoid template not found