Added a bit of a common library. Yet to be used.