Tools for discovering and characterizing extrasolar planets