Refactoring has begun

See https://forums.alliedmods.net/showpost.php?p=2127772&postcount=9 for
things that need to be done to the main plugin.