adds foundations of library