added configuration file for scala and modified some glabal configuration