move closeables into try block
added logger
orm tryout