move console from src to controller & remove qDebug calls from all functions