Clean up code directory.

Remove unused codes.