add scala installation

add more functions
