Improved Performance

* Only instantiate class on WP-Admin > Settings > Permalinks page or when performing an AJAX call from wp-admin.