Added some indexes
Synatx fixes
Increase caching size and debug messages