Changed dbo structure.
Added documentation.