Splitted the files(IO is now in different file, added remove annotation function