Organizing a code