removed package and language variables.
removed knowledge of package and languages. Now it just loads a resource from a config file.