Cleaning up code.

Removed unused class.
Simplified program flow for drawing chart data.
Merge pull request #3 from dhan12/remove.mylinechart

Cleaning up code.