Added readme and added constants to set mode