add readme and init bug fix