New document class

Work in progress, just to know if you like this lead...