Database maintenance

- Restructured
- Added dummy data
- Procedures
- Views
- Triggers