Added classes and DB library.