implemented survey file reading, fixed formating and imports, added right fragment