added classes Database and Publication

Database provides an easy exchangable way to communicate with the
database.
Publication represents a publication entry