Initial builder for production lines.
Fixed documentation, test cases and refactoring cleanup.