Several changes for adding weight to sessions

* Added 'weight' parameter
* Establishd default weight of 1
* Removed default value for 'probability'