splitted arangod into prog and lib