adjust to BEAST 2.2. Add package manager