Global refactoring:
- moved templates
- added install scripts
- added mysql helpers
- added www, db role extensions
- updated tests