added structure for youtube search, started code refactoring