refucktored jndi lookup for app constants, lame! needs a better implementation