Preparing for code re-use through a common library