clearGraph + addGraph functions added
Refactor in progress

TODO : Bugfixes
Bugfix with vertical scale