Added sirealization functions and some minor things. v.1.0.1