Adding DatabaseChannel

Also moving some methods to better arrange them within the API.