Renamed package to datastructure and implemented interface