Added REST API via tastypie for historical data