Added database listing to models
Added GetDatabases to the controller