implemented search for actors. Some code clean up swell.