Moved the cards' logic into a category and added support for more AS ones