Split in multiple files.
Create a directory "lib/", put the checks there. Move the compat file there too. Also put the config in a separate file so that users may edit without messing up the core. Would also ease intallation so that config may land in etc/ for example.
Showing with 124 additions and 123 deletions