Move view related code out of core.
Extract requests and state changes to their own files.
Ignore generated files.
Show actuall list of branches.