main: minor changes with format file, cs-files refactoring, implemeted code style