Cleans up codebase