Clean and comment source code