Change Neo4j database format

I have a compressed graph and I want Neo4j to work with it without changing it format. I forked a Neo4j repo in github and wanted to enrich it with my own library to work with it but got a little bit stuck. Maybe someone has already done something similar and can provide help. Thank you