Added documentations

Not yet complete, but close.