more documentation and some cleaning