added header and some implementation of the index key classes
fucking finished