Add preliminary support for adding datasets and some dataset view code