Adding graphics library