Enable incremental compilation
Add grade editing
Small refactorings