Added Eq and Ord instances for data types.
Introduced diagrams backend environment with custom preloaded fonts.