Adding documentation and some conventions