Clean up preferences. Use own preference class for urls