Removed index reading code
Moved binary read funcs into separate file
Removed whitespace