moving to java 8 and context profile initializer using properties file