slightly refactor swagger spec validator
more reorganization of files