clean and comment

*added some documentation
*removed useless classes