Added initial database classes from Darya CMS project.

Fixed some documentation classes.