use java.util.logging
simplified some methods
added a simple means to measure the elapsed time for function calls