Added function in extractData to handle weekly / per position data. Need to reconfigure json data, and think about migrating to MongoDB or other DB