refactoring: flymake->flycheck, divide modules by type and few other fixes