Code for a scala session "how to organize you scala code"