Check out the CARPE DIGEM project Library