Extracted common OrientDatbaseFactory interface. Moving global constants there.