moving config.properties to resources and using classloader to load it