Improved and completed storage. Added a new ranking system to better handle multiple actions