Resource manager + Graphics class implementation