Replacing epic hand-made with diagrams-lib (finally builded it under windows)