Add some basic data structure.
Keep addToFront act as addToBack