Switching to database studies.
Merge pull request #333 from alxdarksage/studies

Switching to database studies.