Set up context entries and dmatag

no binding functions etc yet.