some stuff cleaned
compileTemplates option added
bot detection
cache added