update: refactor library, throw out mirrors