A library for Density Functional calculations