refactor the filenames and split constants and datamodel into own files