add beoro and some essential codes