update readme and fix dependency problems