Basic database layer has been created.

Write to me if something is missing