better code : correct some syntx and adding scala doc
rename package object