moved message resources from .properties to .java