Working on search script and starting the main class construction