Major addon rewrite. Repository reorganised.