move version and error to utils and update readme