moving common code to own repositories