Starts to put some documentation.. x) and another minor changes