migration for stats and added indices
adding CORS decorator for API
updated requirements
changing import for KVSession extension
count column is int not string
migrate to new metrics models