Create database and shared directories for database management code and shared code respectively.
Beef up comments
Added generic scheduler and workflow scheduling functionality.
Add scheduler and workflow schedule functionality