Initial documentation

Not a complete documentation but a good start. Will add more as we go along as details become clearer.