Added Record Format, index, and a lot of auxiliary classes