Integration of both implementation, rc + borrow to handle resources in rsfml.