Rewrites AnnotationUtils to simplify the code and to make it work with the new annotation classes
Rewrites src/core/worker.js and src/core/core.js to simplify fetching annotations