Code cleanup
Big refactor, new API method to get available databases. Backup entry point is now located at api/Backup.{fmt}