reorganize code files