Simplify the paper object

Branching, LaTeX specific stuffs should go to their own component,
Add role and phase components