- Tidy up database component
- Add methods to get/set version of db
- Add username() method to platform namespace