added graphic lib
added rest chart and buttons for him