improving "navigate-to-sorces" function, implementing "take screenshot" function, huge refactoring