added support for multiple graphs in one database
added TODO methods to element type objects