Lets rename library to be more generic and use it for graveyard and hand too