update of the we

extend pubsub
create paints classe
finish paints test
start using jqm for layout