Changed struct hierarchy
Changed the structs so it's more easy to handle when writing and reading.
	Also made some improvements while finding files to read. Added a
	simple binary reader.