Update to metris-graphics 2.0.0 API
Moved imports to index.js