What's simpler, rewriting a massive project, or maintaining a library? For example, OP did the latter himself.