Implented basic logging and external configuration (via JNDI)