Added graph generation for prices

Removed hardcoded data and implemented basic database accessibility.