started to integrate error logging in main class