Fixed import problems, wrote skeleton of reading code