adding ordered map
adding remove function to ordered array
changing index pointer to data structure
small changes
small changes
adding new functions
uncommenting clear_frame and free_frame