Added int encoding/decoding functions, minor refactoring in Stream class
Tuned int encoding parameters
Tuned int encoding parameters, added install script