Library program

@truffaut @sdevani