Code plugin: new architecture

Note that I had to change the navigation