Code revision

Remove some unwanted files.
Code documentation.