Moved settings logic to new class
Added valid location function to settings class
Fixed version logic for settings admin script enqueue code