Fully reading

Completed reading from png file.
TO DO:
-change ifs to lambda switch in readBasicInfo()