Stats

Adding basic schema and model for stats

Adding stats,js in routes