made basic Event class with codestrings and ancestry