Add Exceptionhandling and improve logging (formatting and levels)