Big refactoring:
- simpler registration, removed another dependency on curia
- Totally new code for creating summaries
- Fixed a bug on settings page