save optimizations (query aggregation) and started threading the ORM