Separation code into logical parts.