update API and README to have empty constructor