update the comments
remove spaces
update readme
refactor earth code