Reworked packages into a more modular structure
WIP: Red black trees