Added basic DB structure and DBController for common tasks.